import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'
import home from "../views/home.vue"

const routes = [{
        path: '/',
        component: home
    },
    {
        path: '/about',
        component: () =>
            import ("../views/about.vue")
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router;